<?php
/**
 * Simple SIMO.wxFramework
 * 
 * author: simo
 * email : im@onrd.net
 * date  : 2017.05.27
 */

ini_set('display_errors',0);            //错误信息  
ini_set('display_startup_errors',0);    //php启动错误信息  
error_reporting(0);//-1);                    //打印出所有的 错误信息 
//ini_set('error_log', dirname(__FILE__) . '/error_log.txt');
header("Content-type: text/html; charset=utf-8");

defined('APP_ROOT') or define('APP_ROOT', dirname(__FILE__));
@include APP_ROOT .'/actions/_app_init.php';
@include APP_ROOT .'/actions/_app_start.php';
$action = isset($_GET['do'])?$_GET['do']:C('DEFAULT_ACTION');
$action = empty($action)?C('DEFAULT_ACTION'):$action;
loadAction($action);
@include APP_ROOT .'/actions/_app_end.php';
?>
